package com.vortex.cloud.zhsw.xinyang.util;

import com.vortex.cloud.vfs.common.uuid.SnowflakeIdWorker;
import com.vortex.cloud.zhsw.xinyang.support.Constants;

/**
 * @author mumuwen
 * @date 2020-11-20 5:58 下午
 */
public class SnowflakIdWokerUtil {

    public static long getId() {
        SnowflakeIdWorker idWorkerPro = new SnowflakeIdWorker(Constants.Figure.ZERO, Constants.Figure.ZERO);
        return idWorkerPro.nextId();
    }


}
